﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/AdminMasterPage.master" AutoEventWireup="true" CodeFile="quan-ly-loai-nha-hang.aspx.cs" Inherits="Admin_quan_ly_loai_nha_hang" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:GridView ID="grvResType" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="LoaiNhaHangID" onrowcancelingedit="grvResType_RowCancelingEdit" 
        onrowdeleting="grvResType_RowDeleting" onrowediting="grvResType_RowEditing" 
        onrowupdating="grvResType_RowUpdating">
        <Columns>
            <asp:BoundField DataField="MoTa" HeaderText="Loại Nhà Hàng" />
            <asp:CommandField ButtonType="Button" HeaderText="Sửa" ShowEditButton="True" />
            <asp:CommandField ButtonType="Button" HeaderText="Xóa" 
                ShowDeleteButton="True" />
        </Columns>
    </asp:GridView><br />
    <span>Thêm Mới Loại Nhà Hàng </span>
    <asp:TextBox ID="txtResTypeName" runat="server"></asp:TextBox>
    <asp:Button ID="btnOK"
        runat="server" Text="Thêm" onclick="btnOK_Click" /> 
    <asp:Label ID="lblInfo" runat="server"></asp:Label>
</asp:Content>

